package com.smart.client.core;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;


/**
 * Created By Li Jiaxi
 * <br/>Date: 2023/4/12 14:43
 * <br/>Description:
 */
@Getter
@RequiredArgsConstructor
public enum NoticeType {

    /**
     * MEMS数据 角度位移告警
     */
    MEMS(Collections.singletonList(AlarmRuleType.MEME_DISP_ALARM)),

    /**
     * 水位、雨量数据
     */
    RAIN_WATER(Arrays.asList(AlarmRuleType.WATER_LEVEL_ALARM, AlarmRuleType.RAINFALL_ALARM)),

    /**
     * 水位
     */
    WATER_LEVEL(Collections.singletonList(AlarmRuleType.WATER_LEVEL_ALARM)),

    /**
     * 雨量
     */
    RAIN_FALL(Collections.singletonList(AlarmRuleType.RAINFALL_ALARM)),

    /**
     * 雷视 雷达流速，雷视融合流速，流量，水位
     */
    RAY_SIGHT(Arrays.asList(AlarmRuleType.RAY_RADAR_VELOCITY_ALARM, AlarmRuleType.RAY_FUSION_VELOCITY_ALARM, AlarmRuleType.RAY_FLOW_ALARM, AlarmRuleType.WATER_LEVEL_ALARM)),
    ;

    /**
     * 告警编码
     */
    private final List<String> alarmCodeList;
}
